import { createRouter, createWebHistory } from 'vue-router'
import login from '@/components/login.vue'
import chessboard from '@/components/chessboard.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '/', component: login},
    {path: '/chessboard', component: chessboard},
  ],
})

export default router
